package com.bcu.calculus.service;

import com.bcu.calculus.entity.Image;
import com.bcu.calculus.entity.Message;
import com.bcu.calculus.entity.Semester;
import com.bcu.calculus.entity.SemesterNumber;

import java.text.ParseException;
import java.util.List;

public interface SemesterService {

    Message<?> insert(SemesterNumber semesterNumber) throws ParseException;

    Message<?> deleteByPrimaryKey(Integer semId);

    Message<?> updateByPrimaryKey(SemesterNumber semesterNumber) throws ParseException;

    Message<Semester> selectByPrimaryKey(Integer semId);

    Message<List<Semester>> selectAllSemester();

    Message<Semester> findNowSemster();

    Message<Integer> findHaveNowSemester();
}
